﻿namespace CleanArchitecture.Web.Controllers.Backend
{
    /// <summary>
    /// 对所有后台控制器页面需要查询授权页面/控制器路由进行统一配置管理
    /// 路由变量命名规则 ： Controller_Action
    /// </summary>
    public static class BackendAuthorizeRouteConfig
    {
        #region SystemManage
        public const string BackendSystem_SystemDataDicManage = "/system/datadic";
        public const string BackendSystem_OrganizeManageEdit = "/system/organizemanage/edit";
        public const string BackendAdminUser_AdminUserManage = "/system/adminusermanage";
        public const string BackendAdminUser_AdminUserManageEdit = "/system/adminusermanage/edit";
        public const string BackendAdminUser_AdminRoleManage = "/system/adminrolemanage";
        public const string BackendAdminUser_AdminRoleManageEdit = "/system/adminrolemanage/edit";
        public const string BackendSystem_WebsiteManage = "/system/websitemanage";
        public const string BackendSystem_WebsiteManageEdit = "/system/websitemanage/edit";
        #endregion

        #region Business
        public const string BackendBusiness_ColumnManage = "/business/columnmanage";
        public const string BackendBusiness_ColumnManageEdit = "/business/columnmanage/edit";

        public const string BackendBusiness_NewsManage = "/business/newsmanage";
        public const string BackendBusiness_NewsManageEdit = "/business/newsmanage/edit";

        public const string BackendBusiness_ResourceManage = "/business/resourcemanage";
        public const string BackendBusiness_ResourceManageEdit = "/business/resourcemanage/edit";

        public const string BackendBusiness_AdvertiseManage = "/business/advertisemanage";
        public const string BackendBusiness_AdvertiseManageEdit = "/business/advertisemanage/edit";

        public const string BackendBusiness_CommentManage = "/business/commentmanage";

        public const string BackendBusiness_BlogManage = "/business/blogmanage";
        public const string BackendBusiness_BlogManageEdit = "/business/blogmanage/edit";
        #endregion
    }
}
